// 自动生成模板SignRecord
package attendance

import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
)

// 考勤记录 结构体  SignRecord
type SignRecord struct {
	global.GVA_MODEL
	Sign_id     string `json:"sign_id" form:"sign_id" gorm:"column:sign_id;comment:;"`             //考勤id
	Stu_id      string `json:"stu_id" form:"stu_id" gorm:"column:stu_id;comment:;"`                //学生id
	Sign_status *int   `json:"sign_status" form:"sign_status" gorm:"column:sign_status;comment:;"` //状态
	BelongTo    uint   `json:"belong_to" gorm:"column:belong_to;comment:;"`
}

// TableName 考勤记录 SignRecord自定义表名 sign_record
func (SignRecord) TableName() string {
	return "sign_record"
}
